package controllers

import (
	"github.com/kataras/iris"
	"irisfarm/app/core/output"
)

type BaseController struct {
	output output.Output
}

// 初始化相关controller需要的数据
func (b *BaseController) Init(ctx iris.Context) {
	b.output = output.Output{Ctx: ctx}
}
